package com.lyw.idempotentstarter.bean.impl;

import com.lyw.idempotentstarter.bean.IdempotentStorageService;
import org.springframework.beans.factory.annotation.Autowired;

import javax.sql.DataSource;

/**
 * 操作数据库进行幂等处理
 */
public class MysqlIdempotentStorageService implements IdempotentStorageService {

    private DataSource dataSource;

    public MysqlIdempotentStorageService() {
        init();
    }

    private void init(){
        
    }

    @Override
    public boolean storage(String tenantKey, Long employeeId, String path, String token) {
        return false;
    }

    @Override
    public boolean del(String tenantKey, Long employeeId, String path, String token) {
        return false;
    }

    @Override
    public boolean storage(String tenantKey, String path, String token) {
        return false;
    }

    @Override
    public boolean del(String tenantKey, String path, String token) {
        return false;
    }


}
